package com.hui.java.concurrency;

/**
 * TODO: synchronized关键字在修饰方法与代码块中的区别
 *
 * @author chenth
 * @create 2019-04-19 20:39
 **/
public class SynchronizedKeywordQuestion {

    public static void main(String[] args) {

    }

    private static void synchronizedBlock(){
//        synchronized (SynchronizedKeywordQuestion.class);
    }

    private synchronized  static void synchronizedMethod(){

    }
}
